import request from '@/utils/request'

export async function login(data) {
  return request({
    url: '/Login/WebLogin',
    method: 'post',
    data,
  })
}
//获取route
export function UserMenus(data) {
  return request({
    url: '/Login/UserMenus',
    method: 'get',
    params: data,
  })
}
//带token请求
export function WeatherForecast() {
  return request({
    url: '/WeatherForecast/Get',
    method: 'get',
  })
}
